package com.niiwoo.activity.stage.enums.config;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum IndexBannerEnum {
    APP_INDEX_BANNER("1", "APP-首页"),
    H5_INDEX_BANNER("2", "H5-首页");


    public final String value;
    public final String desc;
    public static IndexBannerEnum enumOf(Byte value) {
        for (IndexBannerEnum identityTagEnum : values()) {
            if (identityTagEnum.value.equals(value)) {
                return identityTagEnum;
            }
        }
        return null;
    }

}
